Guides by Sunrise. Thanks to everyone who help me to learn this about KO =)
Thanks to the PJKO team. Special thanks to Knightonline.cn for the new Template.
Visit our Homepage/Forum at:
http://www.knightonline.cn/bbs/forum-58-1.html

Back to index
Server/Client side errors

I have collected some possible errors with K.O. server and client.

Before you start your client, check that the server works properly.
But most times the server makes error because of wrong db or wrong using...
In you windows you might not see the ending .exe or .ini of files.
Usually WindowsXP lets out known endings. I prever seeing them, you can change it in the folderoptions...

If something is definitely wrong here please tell me. Not all solutions might help, maybe there is more than one reason for the error...

Serverside errors:
VersionManager.exe
- "Ini file info error"
->The Version.ini is missing or incorrect. Check if the file is there and correct it.
->Here you can look up what it should look like:
-> http://forum.ragezone.com/knight-onl...ed-114454.html (downloads (partially outdated))

Server.exe
- "couldn't open XY table"
-> Check if the table is in your KN_online db.
->Else rename or delete it and import a new from other db. (I recomend to rename, so you still got a backup)
(to import, start enterprise manager, click on Tools, then data transformation services. first put information of db you like to import from, then your own KN_online)

-"Debug Assertion failed"
->Something's wrong with the db (db and versionManager are online?) or your Server.exe is crap.
->If the exe is crap, download sk8r's patch or new server. (use forum search)

- it asks for the db etc...
->Check your server.ini
->should look like this:
Quote:
[ODBC]
GAME_DSN=KN_online
GAME_UID=knight (or other username of db)
GAME_PWD=knight (or other pw of db user)
[SERVER]
ZONE=2
Ebenezer.exe
-"AI server connect failed"
->Check if you started Server.exe
->You might put a wrong IP in the ini files. Make it llok like this:
Quote:
DATE=18
HOUR=7
WEATHER=1
[LOGIN SERVER]
IP=YOUR IP>>>>>>>>>>>>>>
[CASTLE]
NATION=1
[ZONE_INFO]
MY_INFO=2
SERVER_COUNT=4
SERVER_00=1
SERVER_IP_00=YOUR IP>>>>>>>>>>>>>>
SERVER_01=2
SERVER_IP_01=YOUR IP>>>>>>>>>>>>>>
SERVER_02=3
SERVER_IP_02=YOUR IP>>>>>>>>>>>>>>
SERVER_03=4
SERVER_IP_03=YOUR IP>>>>>>>>>>>>>>
SERVER_NUM=0
[BATTLE]
WEEK=6
START_TIME=20
END_TIME=0
[AI_SERVER]
IP=YOUR IP>>>>>>>>>>>>>>
[DB_SERVER]
IP=YOUR IP>>>>>>>>>>>>>>
[ODBC]
GAME_DSN=KN_online
GAME_UID=LOGIN ID
GAME_PWD=YOUR PASS>>>>>>>>>>>>>>>>
GAME_DSN3=KN_online
GAME_UID3=LOGIN ID
GAME_PWD3=YOUR PASS>>>>>>>>>>>>>>>>
[VERSION]
VER=1098
->I highly recomend to use your internal IP adress or 127.0.0.1, NOT your external.
->should be last solution:
->If all doesn't help the exe is crap, download sk8r's patch or new server. (use forum search)

-"Invalid object name 'dbo.K_OBJECTEVENT'" (or other object name, like movesign etc.)
-There's a problem with your db. Import the object from an other db or change the whole db. I prefer v1098_987655_june62006 or ProjectKN_DB_v002 ...
(to import, start enterprise manager, click on Tools, then data transformation services. first put information of db you like to import from, then your own KN_online)

-"No listen port"
Quote:
Originally Posted by waj0
i found the problem for the no listen port, you must have your ZONE_INFO exactly (except the ip, but DONT remove lines):

[ZONE_INFO]
MY_INFO=2
SERVER_COUNT=4
SERVER_00=1
SERVER_IP_00=127.0.0.1
SERVER_01=2
SERVER_IP_01=127.0.0.1
SERVER_02=3
SERVER_IP_02=127.0.0.1
SERVER_03=4
SERVER_IP_03=127.0.0.1
SERVER_NUM=0

btw be sure you have same version in VERSION table and your .ini files, else you will get error later, im seeing 1090 there, so check you have same in all places
Aujard.exe
-"Main shared memory initialize failed"
->check if VersionManger.exe , Server.exe and Ebenezer.exe are running at the same time.
->If it doesn't help the exe is crap, download sk8r's patch or new server. (use forum search) ^^

finally i want to say, that I dont know what problems could appear if you are running 2 servers on 1 machine. First try with 1 server.

Clientside errors:
First you should get an English client. Read the stickys. Else you will see small boxes or questionmarks instead of the error message...
Then look up the server.ini
should look like this:
Quote:
[Server]
Count=1
ip0= AD YOUR IP HERE!!!
You can also add more servers by typing ip1=...
Dont forget to change Count=... then.

-"LogIn server fail
- No server list"
->Make sure there is a file called server.ini.
->Else open the server.ini . the line count= should give the number of servers. Correct if necessary.

-After LogIn serverlist doesnt appear
->reinstalling windows could help. Else try other Client/Server....

-error 10060
->The server was not found. Make sure you tiped the right ip.
->When you run the server on your machine, put 127.0.0.1 as ip,
->or your local ip. You can get it by clicking on start, execute, type "cmd" and in the following box type ipconfig.

-error 10061
->The server was found. Thats good
->Maybe the server applications are not running (all 4 at the same time!)
->or there's a problem with a router. Port forwarding is difficult (I'm waiting for a guide myself). You could unplug the router and connect directly to the web or just play in a local network (works with router).

-error 10065
->Server was found, but doesnt work properly (AI server connect failed or something like that)
->So check your server and solve this (serverside problems/solutions are mentioned above)


Usefull links at ragezone:
sk8rs patch
http://forum.ragezone.com/knight-onl...-a-138539.html (sk8r's patch for server side 1098!)

Ill maybe edit this post and add more/better solutions and detect more problems....